<template>
  <div id="head">
      <div class="head_content">
      <div class="logo">影评博客</div>
      <div class="inputbox">
      <el-input placeholder="请输入内容" v-model="input3" class="input-with-select">
        <el-button slot="append" icon="el-icon-search"></el-button>
      </el-input>
     </div>
      <div class="head_text">
          <span>精彩博文</span>
          <span>写文章</span>
      </div>
  </div>
  </div>
</template>

<script>
export default {
 data() {
      return {
        input3: ''
      }
    }
}
</script>

<style scoped lang="scss">
$theme_color: #409Eff;
$content_w:1200px;
#head{
    width: 100%;
    height: 80px;
    background: $theme_color;
    .head_content{
        width: $content_w;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        > div{
            flex: 1;
            height: 80px;
            &.logo{
                font-size: 30px;
                display: flex;
                align-items: center;
                color: #fff;
            }
            &.inputbox{
                display: flex;
                align-items: center;
            }
            &.head_text{
               display: flex;
                align-items: center; 
                color: #fff;
                justify-content:flex-end;
                :first-child{
                    margin-right:5px ;
                }
            }
        }
    }
}
</style>